import service from "@/utils/request.js"
/**
 * 添加层架
 */
export function frameCreate(data = {}){
    return service.request({
        url: "/api/v1/framecreate",
        method: "post",
        data
    })
}

/**
 * 层架列表
 */
export function frameList(data = {}){
    return service.request({
        url: "/api/v1/framelists",
        method: "post",
        data
    })
}

/**
 * 层架详情
 */
export function frameDetailed(data = {}){
    return service.request({
        url: "/api/v1/framedetailed",
        method: "post",
        data
    })
}


/**
 * 层架修改
 */
export function frameUpdate(data = {}){
    return service.request({
        url: "/api/v1/frameupdate",
        method: "post",
        data
    })
}


/**
 * 层架状态
 */
export function frameStatus(data = {}){
    return service.request({
        url: "/api/v1/framestatus",
        method: "post",
        data
    })
}

/**
 * 删除层架
 */
export function frameDelete(data = {}){
    return service.request({
        url: "/api/v1/framedelete",
        method: "post",
        data
    })
}
/**
 * 获取所有层架
 */
export function frameall(data = {}){
    return service.request({
        url: "/api/v1/frameall",
        method: "post",
        data
    })
}
